Skip to content

[typespec-python] Regenerate tests from microsoft/typespec PR #10439 (DO NOT MERGE)#47346

Draft
msyyc wants to merge 1 commit into
typespec-python-generated-testsfrom
regen/typespec-python-pr-10439
Draft

[typespec-python] Regenerate tests from microsoft/typespec PR #10439 (DO NOT MERGE)#47346
msyyc wants to merge 1 commit into
typespec-python-generated-testsfrom
regen/typespec-python-pr-10439

Conversation

@msyyc

@msyyc msyyc commented Jun 4, 2026

Copy link
Copy Markdown
Member

NOTE: This PR is just to show code diff and pls do not merge this PR

Fixes #47344

Source: microsoft/typespec#10439

Automated regeneration of TypeSpec Python generated tests from microsoft/typespec PR #10439.

This PR was auto-generated. You could click the workflow again to update the PR directly if you have new commit in your typespec PR

@github-actions github-actions Bot force-pushed the regen/typespec-python-pr-10439 branch from 2970de2 to 8a10f33 Compare June 9, 2026 09:34
"""

error: Required[str]
"""Required."""

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new file is not referred by any model/operation.

"""Base64urlArrayBytesProperty.

:ivar value: Required.
:vartype value: list[bytes]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docstring is list[bytes] does not follow typing list[str].

"""Required."""
enumProp: Required[Union[str, "EnumV2"]]
"""Required. \"enumMember\""""
unionProp: Required["_unions.UnionV2"]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could generate code like unionProp: Required[Union[str, int]] so that there is no need to generate additional _unions.py?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant